package com.hk.zuulservice.feign;

import com.hk.userapi.api.UserApi;
import com.hk.zuulservice.config.FeignConfig;
import com.hk.zuulservice.feign.impl.UserFeignClientImpl;
import org.springframework.cloud.openfeign.FeignClient;

/**
 * @Author: aerfazhe
 * @Date: 2021/8/10 19:40
 * @Statement: Feign远程调佣
 */
@FeignClient(value = "user-service",fallback = UserFeignClientImpl.class,configuration = FeignConfig.class )
public interface UserFeignClient extends UserApi {
//fallback = UserFeignClientImpl.class,
}
